﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 数据验证
{
    class Riyueletui
    {
        /// <summary>
        /// Id
        /// </summary>
        public string petId = "";

        /// <summary>
        /// 精灵名字
        /// </summary>
        public string petName = "";

        /// <summary>
        /// 进化Id
        /// </summary>
        public string nextPetId = "";

        /// <summary>
        /// 前置ID
        /// </summary>
        public string prePetId = "";

        /// <summary>
        /// 系列ID
        /// </summary>
        public string serise = "";

        /// <summary>
        /// 属性1
        /// </summary>
        public string element1 = "";

        /// <summary>
        /// 属性2
        /// </summary>
        public string element2 = "";

        /// <summary>
        /// 角色珍稀度展示
        /// </summary>
        public string petRankShow = "";

        /// <summary>
        /// 属性Id（种族值）
        /// </summary>
        public string petAbilityId = "";

        /// <summary>
        /// 性别
        /// </summary>
        public string sex = "";

        /// <summary>
        /// 是否有性别
        /// </summary>
        public string isNullSex = "";

        /// <summary>
        /// 是否闪光
        /// </summary>
        public string flash = "";

        /// <summary>
        /// 是否存在图鉴之中
        /// </summary>
        public string isInPokeindex = "";

        /// <summary>
        /// 成长技能
        /// </summary>
        public string growSkill = "";

        /// <summary>
        /// 学习机技能
        /// </summary>
        public string studySkill = "";

        /// <summary>
        /// 普通特性
        /// </summary>
        public string characteristic = "";

        /// <summary>
        /// 升阶所需条件
        /// </summary>
        public string petUpgradeCondition = "";

        /// <summary>
        /// 升星所需条件
        /// </summary>
        public string petStarIncreaseCondition = "";

        /// <summary>
        /// 进化所需条件
        /// </summary>
        public string evolutionCondition = "";






        /// <summary>
        /// 进化石返还
        /// </summary>
        public string resetEvolution = "";

        /// <summary>
        /// z招式
        /// </summary>
        public string zMove = "";

        /// <summary>
        /// 专属技能
        /// </summary>
        public string exclusiveSkill = "";

        /// <summary>
        /// 专属特性
        /// </summary>
        public string exclusiveAbility = "";

        /// <summary>
        /// 是否为究极精灵
        /// </summary>
        public string isNotMelt = "";

        /// <summary>
        /// 究极精灵属性列表
        /// </summary>
        public string elementListId = "";

        /// <summary>
        /// 传说任务
        /// </summary>
        public string legendQuestListId = "";

        /// <summary>
        /// 是否在融合列表中显示
        /// </summary>
        public string isInMega3Index = "";





        public SortedList<int, string> GetShort()
        {
            string[] name = {"petId","petName", "nextPetId", "prePetId", "serise", "petRankShow", "element1", "element2",
            "petAbilityId", "sex", "isNullSex", "isInPokeindex", "flash", "growSkill", "studySkill", "characteristic",
            "petUpgradeCondition", "petStarIncreaseCondition", "evolutionCondition", "resetEvolution", "zMove", "exclusiveSkill", "exclusiveAbility",
            "isNotMelt", "elementListId", "legendQuestListId", "isInMega3Index" };
            SortedList<int, string> sl = new SortedList<int, string>();
            for (int i = 0; i < name.Length; i++)
            {
                sl.Add(i, name[i]);
            }
            sl.TrimExcess();
            return sl;
        }
        public SortedList<int, string> GetShortName()
        {
            string[] name = { "精灵Id", "精灵名字", "进化Id", "前置Id", "成长技能", "学习技能", "普通特性", "特性列表" ,  "升阶条件" , "升星条件" ,
            "升星材料","进化条件","进化材料", "进化石返还", "返还材料", "返还精灵数","Z技能", "专属技能", "专属特性", "是否究极", "究极属性", "传说任务", "融合表展示"};
            SortedList<int, string> sl = new SortedList<int, string>();
            for (int i = 0; i < name.Length; i++)
            {
                sl.Add(i, name[i]);
            }
            sl.TrimExcess();
            return sl;
        }
    }
}
